﻿using System.Collections.Generic;
using TravisLight.Model.Entity;

namespace TravisLight.Model.Repository
{
    public interface IRepository
    {
        /// <summary>
        /// Returns a set of Repo objects for a given user,
        /// identified by its username.
        /// </summary>
        /// <param name="username">A username</param>
        /// <returns>A list of Repo</returns>
        List<Repo> GetRepositoriesFor(string username);
    }
}
